<%@page contentType="text/html; charset=utf-8"%>
<%@ include file="../inc/TagLibs.jsp"%>
<c:set var="pageTitle" value="业务单完工" />
<%@ include file="../inc/Title.jsp"%>
<head>
<link rel="stylesheet" type="text/css" href="/css/base.css" />
<script src="/js/popup_ext.js"></script>
<script language="javascript">
	function checkInput(){
		if(window.event.keyCode==13){
			doOk();
		}
	}
	function doOk(){
		var retArr=new Array();
		retArr[0]=document.getElementById("maker_name").value;
		parent.popRetVal=retArr;
		parent.ClosePop();
	}
	function doCancel(){
		window.close();
	}
	function selectMaker(){
		var url="/base/StafferMainForSelect.ihtm?type=MULTI";
		ShowIframe("选择员工",url,800,500,"selectMakerCallBack()");
	}
	function selectMakerCallBack(){
		if(popRetVal!=null){
			var idStr="";
			var nameStr="";
			for(i=0;i<popRetVal.length;i++){
				var arr=popRetVal[i];
				if(idStr!=""){
					idStr=idStr+";";
					nameStr=nameStr+";";
				}
				idStr=idStr+arr[0];
				nameStr=nameStr+arr[2];
			}
			document.getElementById("maker_name").value=nameStr;
		}
	}
</script>
</head>
<body oncontextmenu="return false"  class="sheet modal-dialog" style="padding-top:10px;text-align:left;">
<div class="sheet-main"  style="width:350px;">
	  <div class="sheet-list" >
	    <div class="modal-main search-business">
	    	<div style="width:100%;">
				<c:set var="pageTopTitle" value="业务单完工" />
				<c:set var="pageTopMark" value="" />
				<%@ include file="../inc/PageTop.jsp"%>
				<table border="0" cellspacing="1" cellpadding="1" align="center" class="table-a">
						<tr>
							<th>制作人：</th>
							<td>
							<input type="text"  class="TextBox" style="width:140px" name="maker_name" id="maker_name" value="">
							<img class="make-a" src="/images/make-a.gif"  style="cursor:pointer;"  onClick="selectMaker();"/>
							</td>
						</tr>	
				</table>
			</div>
	  	</div>
	  </div>
		<div class="modal-buttom">
			<input type="button" class="buttom-a" value=" 确 定 " onClick="doOk();">
			<input type="button" class="buttom-a" value=" 取 消 " onClick="doCancel();">
		</div>
</div>			   	
</body>
</html>